package org.irri.smta.report;

import javax.faces.bean.ApplicationScoped;
import javax.inject.Named;

import org.irri.smta.config.impl.Configuration;

@Named("httpClientConfig")
@ApplicationScoped
public class HttpClientConfig extends Configuration {
	
	private static final long serialVersionUID = 1L;
	
	public String getTreatyUrl() {
		return getString("/application/http/treaty/url", null);
	}
	
	public String getTreatyUsername() {
		return getString("/application/http/treaty/username", null);
	}

	public String getTreatyPassword() {
		return getString("/application/http/treaty/password", null);
	}
	
}
